package com.kehutong.charge.entity;

import java.util.List;
import org.coraframework.json.annotation.JSONField;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.util.IDType;
import com.kehutong.charge.util.enums.ChargeNoticeEnum;
import com.kehutong.charge.util.enums.ChargeUrgingLadderEnum;
import com.kehutong.charge.util.enums.UrgingTypeEnum;
import com.kehutong.common.entity.DataEntity;

/**
 * @program: kht
 * @description: ChargeFeeConfig
 * @author: joneron
 * @create: 2021/6/29
 **/
@Table(value="t_charge_urging_config", comment="催费配置表",multi = true, idType = IDType.TIMESTAMP, engine = "innodb")
public class ChargeUrgingConfig extends DataEntity {

    protected ChargeUrgingConfig(String id) {
        super(id);
    }

    @Column(comment="小区编号")
    private String communityNo;

    @Column(comment="小区名称")
    private String communityName;

    @Column(comment="催费类型名")
    private String urgingName;

    @Column(comment="欠费时段")
    private ChargeUrgingLadderEnum urgingDate;

    @Column(comment="催缴方式")
    private UrgingTypeEnum urgingTypeMsg;

    @Column(comment="提醒周期")
    private ChargeNoticeEnum urgingUnit;

    @Column(comment="催缴方式集合")
    private List<String> typeMsgList;

    @Column(comment = "状态：0禁用，1启用")
    private boolean status;

    @JSONField(serialize = false)
    @Column(comment = "逻辑删除")
    private boolean deleted;

    @Column(comment = "创建人")
    private String createName;

    @Column(comment = "修改人")
    private String updateName;

    public String getCommunityNo() {
        return communityNo;
    }

    public void setCommunityNo(String communityNo) {
        this.communityNo = communityNo;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    public String getUrgingName() {
        return urgingName;
    }

    public void setUrgingName(String urgingName) {
        this.urgingName = urgingName;
    }

    public UrgingTypeEnum getUrgingTypeMsg() {
        return urgingTypeMsg;
    }

    public void setUrgingTypeMsg(UrgingTypeEnum urgingTypeMsg) {
        this.urgingTypeMsg = urgingTypeMsg;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getUpdateName() {
        return updateName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }

    public void setUrgingDate(ChargeUrgingLadderEnum urgingDate) {
        this.urgingDate = urgingDate;
    }

    public ChargeNoticeEnum getUrgingUnit() {
        return urgingUnit;
    }

    public void setUrgingUnit(ChargeNoticeEnum urgingUnit) {
        this.urgingUnit = urgingUnit;
    }

    public List<String> getTypeMsgList() {
        return typeMsgList;
    }

    public void setTypeMsgList(List<String> typeMsgList) {
        this.typeMsgList = typeMsgList;
    }

    public ChargeUrgingLadderEnum getUrgingDate() {
        return urgingDate;
    }
}
